package gr.handmademarket.ui.pages;

import gr.handmademarket.ui.panels.NewsLetterPanel;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.image.Image;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.request.resource.ContextRelativeResource;

/**
 * home page of our application.
 */
public class NewsLetterPage 
extends WebPage{
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * the panel.
	 */
	@SuppressWarnings("nls")
	private NewsLetterPanel panel = new NewsLetterPanel("newsLetterPanel");
	
	/**
	 * 
	 * Creates a new HomePage object. 
	 *
	 */
	@SuppressWarnings("nls")
	public NewsLetterPage(){
		super();
		add(panel);
		ContextRelativeResource resource = new ContextRelativeResource("/img/babushka-03.jpg");
		add(new Image("logo", resource));
		add(new FeedbackPanel("feedbackPanel").setOutputMarkupId(true));
	}
	
}
